home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / dskut / activate.zip / CONFIG.H < prev    next >
C/C++ Source or Header  |  1992-12-04  |  1KB  |  44 lines

  1.  
  2. /*
  3.  *  Configuration file for Activate (v1.01)
  4.  *
  5.  *  Utility for setting the Active partition on a HD.
  6.  *
  7.  *  Author: Ronan Mullally October 1992.
  8.  *          < H235_003@ccvax.ucd.ie >
  9.  *          < ronan@bermuda.ucd.ie >
  10.  *          < ronan.mullally@f151.n263.z2.fidonet.org >
  11.  *
  12.  *  Notes: I make *no* guarentees that this program is 100% safe - All
  13.  *         I'll say is that it hasn't damaged my own Hard Disk (yet!)
  14.  *
  15.  *         Most of the code should be fairly portable - the only exceptions
  16.  *         are the functions contained in the DOS-ACT.c and NDOS-ACT.c files.
  17.  *         which contain the routines for reading and writing the 1st sector
  18.  *         of the hard drive.
  19.  *
  20.  */
  21.  
  22. /* if your DOS compiler doesn't (TCPP does) already declare this, do it here */
  23. /* #define __MSDOS__ */
  24.  
  25. #ifdef __MSDOS__
  26.  #include <bios.h>                             /* for biosdisk() routine */
  27.  #include "act-dos.c"
  28. #else
  29.  #define NUM_DRIVES 1           /* Pre-define your number of hard drives */
  30.  #include "act-ndos.c"
  31. #endif
  32.  
  33. /* 
  34.  * Give the names of you hard drives here (ie /dev/whatever) - give the
  35.  * name of the physical drive - NOT the partition numbers! 
  36.  *
  37.  */
  38.  
  39. #ifndef __MSDOS__                         /* set up array of drive names */
  40.  char *drive_name[NUM_DRIVES] = {"/dev/rat0x"};
  41. #endif
  42.  
  43.  
  44.